package cn.wolfcode.luowowo.search.service.impl;

import cn.wolfcode.luowowo.search.domain.DestinationEs;
import cn.wolfcode.luowowo.search.repository.DestionationEsRepository;
import cn.wolfcode.luowowo.search.service.IDestionationEsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DestionationEsServiceImpl implements IDestionationEsService {
    @Autowired
    private DestionationEsRepository repository;
    @Override
    public void save(DestinationEs destination) {
        repository.save(destination);
    }
}
